package cn.imvc.app.models;

import org.springframework.data.domain.Page;

import cn.imvc.app.entities.InventoryFlow;
import cn.imvc.data.domain.ViewRequest;

public interface InventoryFlowModel {

	Page<InventoryFlow> find(ViewRequest viewRequest);
	
	InventoryFlow get(int id);

	InventoryFlow save(InventoryFlow inventoryFlow);
	
	InventoryFlow update(InventoryFlow inventoryFlow);

	void delete(int id);

	void deleteBatch(int[] ids);
	
	public Page<Object[]> findObjectPage(ViewRequest viewRequest);
}
